SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 67750: Inserting data into a Google BigQuery table using the FEDSQL procedure might result in errors

DetailsHotfixAboutRate It

When you use the FEDSQL procedure and it involves inserting data into a Google BigQuery table, you might receive an error.  Here are some of the errors that have been encountered due to this issue:


ERROR: Error: googleapi: Error 400: Syntax error: Expected ")" but got keyword DESC at [1:214], invalidQuery

ERROR: Error: 1 row insertion failed (insertion of row [insertID: "XFr8Js3lVteMwCsHO9VuFfJSwyP"; insertIndex: 0] failed with error: 
       {Location: "ID"; Message: "no such field."; Reason: "invalid"})

The issue occurs when the data being inserted contains a backslash (\) and the SCANSTRINGCOLUMNS=YES option is specified.

The workaround is to use SCANSTRINGCOLUMNS=NO.

 


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to Google BigQueryLinux for x649.419.439.4 TS1M69.4 TS1M8
SAS SystemSAS/ACCESS Interface to Google BigQuery (on SAS Viya)Linux for x642020.1.12020.1.4ViyaViya
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.